class GetOrgNameEntity {
  int code;
  List<Data> data;
  String message;

  GetOrgNameEntity({
      this.code, 
      this.data, 
      this.message});

  GetOrgNameEntity.fromJson(dynamic json) {
    code = json["code"];
    if (json["data"] != null) {
      data = [];
      json["data"].forEach((v) {
        data.add(Data.fromJson(v));
      });
    }
    message = json["message"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["code"] = code;
    if (data != null) {
      map["data"] = data.map((v) => v.toJson()).toList();
    }
    map["message"] = message;
    return map;
  }

}

class Data {
  String orgName;
  String keyID;
  int auditStatusID;
  int orgTypeID;
  int isDisable;
  String auditTime;
  String validDateBeg;
  String auditUser;
  String applyTime;
  String auditStatusName;
  int createAccountStatus;
  String validDateEnd;
  String refuseReason;

  Data({
      this.orgName, 
      this.keyID, 
      this.auditStatusID, 
      this.orgTypeID, 
      this.isDisable, 
      this.auditTime, 
      this.validDateBeg, 
      this.auditUser, 
      this.applyTime, 
      this.auditStatusName, 
      this.createAccountStatus, 
      this.validDateEnd, 
      this.refuseReason});

  Data.fromJson(dynamic json) {
    orgName = json["orgName"];
    keyID = json["keyID"];
    auditStatusID = json["auditStatusID"];
    orgTypeID = json["orgTypeID"];
    isDisable = json["isDisable"];
    auditTime = json["auditTime"];
    validDateBeg = json["validDateBeg"];
    auditUser = json["auditUser"];
    applyTime = json["applyTime"];
    auditStatusName = json["auditStatusName"];
    createAccountStatus = json["createAccountStatus"];
    validDateEnd = json["validDateEnd"];
    refuseReason = json["refuseReason"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["orgName"] = orgName;
    map["keyID"] = keyID;
    map["auditStatusID"] = auditStatusID;
    map["orgTypeID"] = orgTypeID;
    map["isDisable"] = isDisable;
    map["auditTime"] = auditTime;
    map["validDateBeg"] = validDateBeg;
    map["auditUser"] = auditUser;
    map["applyTime"] = applyTime;
    map["auditStatusName"] = auditStatusName;
    map["createAccountStatus"] = createAccountStatus;
    map["validDateEnd"] = validDateEnd;
    map["refuseReason"] = refuseReason;
    return map;
  }

}